package tio.study.showcase.server.handler;

import org.tio.core.ChannelContext;
import tio.study.showcase.common.ShowcasePacket;
import tio.study.showcase.common.intf.AbsShowcaseBsHandler;
import tio.study.showcase.common.packets.GroupMsgReqBody;

/**
 * 心跳处理
 *
 * @author tanyaowu
 * 2017年3月27日 下午9:51:28
 */
public class HeartbeatReqHandler extends AbsShowcaseBsHandler<GroupMsgReqBody> {

    /**
     * @author: tanyaowu
     */
    public HeartbeatReqHandler() {
    }


    /**
     * @return
     * @author: tanyaowu
     */
    @Override
    public Class<GroupMsgReqBody> bodyClass() {
        return GroupMsgReqBody.class;
    }

	/**
	 * @param packet
	 * @param bsBody
	 * @param channelContext
	 * @return
	 * @throws Exception
	 * @author tanyaowu
	 */
	@Override
	public Object handler(ShowcasePacket packet, GroupMsgReqBody bsBody, ChannelContext channelContext) throws Exception {
		//心跳消息,啥也不用做
		return null;
	}

}
